define(['vue'], Vue => {
    Vue = Vue.default
    // base
    Vue.component('zh-main', resolve => {
        require(['./components/base/main'], resolve)
    })
    Vue.component('zh-login', resolve => {
        require(['./components/base/login'], resolve)
    })
    Vue.component('zh-dashbord', resolve => {
        require(['./components/base/dashbord'], resolve)
    })
    Vue.component('zh-error', resolve => {
        require(['./components/base/error'], resolve)
    })

    //个人首页
    Vue.component('zh-personal', resolve => {
        require(['./components/index/personal'], resolve)
    })
    Vue.component('zh-index', resolve => {
        require(['./components/index/index'], resolve)
    })
    Vue.component('zh-mailList', resolve => {
        require(['./components/index/mailList'], resolve)
    })
    Vue.component('zh-privateLette', resolve => {
        require(['./components/index/privateLettes'], resolve)
    })
    Vue.component('zh-resource', resolve => {
        require(['./components/index/resource'], resolve)
    })
    Vue.component('zh-resourceUpload', resolve => {
        require(['./components/index/resource-add'], resolve)
    })
    Vue.component('zh-resourceEdit', resolve => {
        require(['./components/index/resource-edit'], resolve)
    })
    Vue.component('zh-journal', resolve => {
        require(['./components/index/journal'], resolve)
    })
    Vue.component('zh-writeLog', resolve => {
        require(['./components/index/journal-add'], resolve)
    })
    Vue.component('zh-editLog', resolve => {
        require(['./components/index/journal-edit'], resolve)
    })
    Vue.component('zh-journalDetails', resolve => {
        require(['./components/index/journal-details'], resolve)
    })

    //班级空间
    Vue.component('zh-classIndex', resolve => {
        require(['./components/class/index'], resolve)
    })
    Vue.component('zh-classCircle', resolve => {
        require(['./components/class/class-circle'], resolve)
    })
    Vue.component('zh-classNotice', resolve => {
        require(['./components/class/class-notice'], resolve)
    })
    Vue.component('zh-notifications', resolve => {
        require(['./components/class/class-notice-add'], resolve)
    })

    Vue.component('zh-achievement', resolve => {
        require(['./components/class/achievement-list'], resolve)
    })
    Vue.component('zh-classAchievement', resolve => {
        require(['./components/class/class-achievement'], resolve)
    })
    Vue.component('zh-studentAchievement', resolve => {
        require(['./components/class/student-Achievements'], resolve)
    })
    Vue.component('zh-achievementDetail', resolve => {
        require(['./components/class/clas-achievement-detail'], resolve)
    })
    Vue.component('zh-classTask', resolve => {
        require(['./components/class/class-task'], resolve)
    })
    Vue.component('zh-classTaskDetail', resolve => {
        require(['./components/class/class-task-detail'], resolve)
    })
    Vue.component('zh-releaseTask', resolve => {
        require(['./components/class/class-task-add'], resolve)
    })
    Vue.component('zh-releasEedit', resolve => {
        require(['./components/class/class-task-edit'], resolve)
    })
    Vue.component('zh-importMembers', resolve => {
        require(['./components/class/class-import-members'], resolve)
    })

    Vue.component('zh-clasResources', resolve => {
        require(['./components/class/class-resources'], resolve)
    })
    Vue.component('zh-classResourcesEdit', resolve => {
        require(['./components/class/class-resources-edit'], resolve)
    })
    Vue.component('zh-uploadResources', resolve => {
        require(['./components/class/class-resources-add'], resolve)
    })
    Vue.component('zh-classMembers', resolve => {
        require(['./components/class/class-members'], resolve)
    })
    Vue.component('zh-invitingMembers', resolve => {
        require(['./components/class/class-members-add'], resolve)
    })
    Vue.component('zh-postSetting', resolve => {
        require(['./components/class/class-members-set'], resolve)
    })
    Vue.component('zh-homework', resolve => {
        require(['./components/class/homework'], resolve)
    })
    Vue.component('zh-homeworkTask', resolve => {
        require(['./components/class/homeworkTask'], resolve)
    })
    Vue.component('zh-homeworkTask2', resolve => {
        require(['./components/class/homeworkTask2'], resolve)
    })
    Vue.component('zh-homeworkTask3', resolve => {
        require(['./components/class/homeworkTask3'], resolve)
    })
    Vue.component('zh-lookPapers', resolve => {
        require(['./components/class/look-papers'], resolve)
    })
    Vue.component('zh-reviewPapers', resolve => {
        require(['./components/class/review-papers'], resolve)
    })
    //
    Vue.component('zh-leave', resolve => {
        require(['./components/class/leave/leave'], resolve)
    })
    Vue.component('zh-leave2', resolve => {
        require(['./components/class/leave/leave2'], resolve)
    })
    Vue.component('zh-newLeave', resolve => {
        require(['./components/class/leave/newLeave'], resolve)
    })
    Vue.component('zh-detailsLeave', resolve => {
        require(['./components/class/leave/detailsLeave'], resolve)
    })
    //
    Vue.component('zh-myGrowth', resolve => {
        require(['./components/class/my-growth'], resolve)
    })
    Vue.component('zh-myAchievements', resolve => {
        require(['./components/class/my-achievements'], resolve)
    })
    Vue.component('zh-classSchedule', resolve => {
        require(['./components/class/class-schedule'], resolve)
    })

    Vue.component('zh-archives', resolve => {
        require(['./components/class/archives/index'], resolve)
    })
    Vue.component('zh-studentFilesEdit', resolve => {
        require(['./components/class/archives/archives-edit'], resolve)
    })
    Vue.component('zh-studentFiles', resolve => {
        require(['./components/class/archives/archives-files'], resolve)
    })
    Vue.component('zh-archivesSelt', resolve => {
        require(['./components/class/archives/archives-self'], resolve)
    })
    Vue.component('zh-archivesImport', resolve => {
        require(['./components/class/archives/archives-import'], resolve)
    })

    //综合素质评价
    Vue.component('zh-quality', resolve => {
        require(['./components/class/quality/index'], resolve)
    })
    /*    Vue.component('zh-classPortrait', resolve=>{
            require(['./components/class/quality/class-portrait'], resolve)
        })*/
    Vue.component('zh-classDetails', resolve => {
        require(['./components/class/quality/class-details'], resolve)
    })
    Vue.component('zh-evaluateStudents', resolve => {
        require(['./components/class/quality/evaluate-students'], resolve)
    })
    Vue.component('zh-evaluateOperation', resolve => {
        require(['./components/class/quality/evaluate-operation'], resolve)
    })
    Vue.component('zh-evaluateManage', resolve => {
        require(['./components/class/quality/evaluate-manage'], resolve)
    })
    Vue.component('zh-evaluateAdd', resolve => {
        require(['./components/class/quality/evaluate-add'], resolve)
    })
    Vue.component('zh-selfEvaluation', resolve => {
        require(['./components/class/quality/self-evaluation'], resolve)
    })
    Vue.component('zh-evaluateClassmate', resolve => {
        require(['./components/class/quality/evaluate-classmate'], resolve)
    })
    Vue.component('zh-studentPortrait', resolve => {
        require(['./components/class/quality/student-portrait'], resolve)
    })
    Vue.component('zh-studentDetails', resolve => {
        require(['./components/class/quality/student-details'], resolve)
    })
    Vue.component('zh-evaluateEdit', resolve => {
        require(['./components/class/quality/evaluate-edit'], resolve)
    })


    //教学中心
    Vue.component('zh-teachIndex', resolve => {
        require(['./components/teaching/index'], resolve)
    })
    Vue.component('zh-myVideo', resolve => {
        require(['./components/teaching/my-video'], resolve)
    })
    Vue.component('zh-videoDetails', resolve => {
        require(['./components/teaching/video-question'], resolve)
    })
    Vue.component('zh-videoUploading', resolve => {
        require(['./components/teaching/my-video-add'], resolve)
    })
    Vue.component('zh-videoEditor', resolve => {
        require(['./components/teaching/my-video-edit'], resolve)
    })
    Vue.component('zh-liveList', resolve => {
        require(['./components/teaching/my-live-reservation'], resolve)
    })
    Vue.component('zh-myLive', resolve => {
        require(['./components/teaching/my-live'], resolve)
    })
    Vue.component('zh-liveBroadcast', resolve => {
        require(['./components/teaching/my-live-add'], resolve)
    })
    Vue.component('zh-liveEdit', resolve => {
        require(['./components/teaching/my-live-edit'], resolve)
    })
    Vue.component('zh-liveBroadcastDetails', resolve => {
        require(['./components/teaching/my-live-details'], resolve)
    })
    Vue.component('zh-myLiveList', resolve => {
        require(['./components/teaching/my-live-list'], resolve)
    })
    Vue.component('zh-reservation-detail', resolve => {
        require(['./components/teaching/my-live-reservation-detail'], resolve)
    })
    Vue.component('zh-myAlbum', resolve => {
        require(['./components/teaching/my-album'], resolve)
    })
    Vue.component('zh-newAlbum', resolve => {
        require(['./components/teaching/my-album-add'], resolve)
    })
    Vue.component('zh-editAlbum', resolve => {
        require(['./components/teaching/my-album-edit'], resolve)
    })
    Vue.component('zh-interlocution', resolve => {
        require(['./components/teaching/my-questions'], resolve)
    })

    Vue.component('zh-resourceAudit', resolve => {
        require(['./components/teaching/resourc-audit'], resolve)
    })
    Vue.component('zh-credit', resolve => {
        require(['./components/teaching/student-credit'], resolve)
    })
    Vue.component('zh-report', resolve => {
        require(['./components/teaching/report'], resolve)
    })
    Vue.component('zh-invitedClass', resolve => {
        require(['./components/teaching/invitedClass'], resolve)
    })

    Vue.component('zh-teachresource', resolve => {
        require(['./components/teaching/my-resource'], resolve)
    })
    Vue.component('zh-teachresourceAdd', resolve => {
        require(['./components/teaching/my-resource-add'], resolve)
    })
    Vue.component('zh-teachresourceEdit', resolve => {
        require(['./components/teaching/my-resource-edit'], resolve)
    })
    // Vue.component('zh-leave', resolve=>{
    //     require(['./components/teaching/leave'], resolve)
    // })
    // Vue.component('zh-leave2', resolve=>{
    //     require(['./components/teaching/leave2'], resolve)
    // })
    // Vue.component('zh-newLeave', resolve=>{
    //     require(['./components/teaching/newLeave'], resolve)
    // })
    // Vue.component('zh-detailsLeave', resolve=>{
    //     require(['./components/teaching/detailsLeave'], resolve)
    // })

    //学习中心
    Vue.component('zh-studentIndex', resolve => {
        require(['./components/student/index'], resolve)
    })
    Vue.component('zh-footprint', resolve => {
        require(['./components/student/footprint'], resolve)
    })
    Vue.component('zh-studentLive', resolve => {
        require(['./components/student/myLive'], resolve)
    })
    Vue.component('zh-studentAlbum', resolve => {
        require(['./components/student/album'], resolve)
    })
    Vue.component('zh-studentNote', resolve => {
        require(['./components/student/myNote'], resolve)
    })
    Vue.component('zh-studentAnswer', resolve => {
        require(['./components/student/myAnswer'], resolve)
    })
    Vue.component('zh-studentStatistics', resolve => {
        require(['./components/student/myStatistics'], resolve)
    })
    Vue.component('zh-studentCredits', resolve => {
        require(['./components/student/myCredits'], resolve)
    })
    Vue.component('zh-studentAchievements', resolve => {
        require(['./components/student/myAchievements'], resolve)
    })
    Vue.component('zh-studentGrowth', resolve => {
        require(['./components/student/myGrowth'], resolve)
    })
    Vue.component('zh-studentinvitedClass', resolve => {
        require(['./components/student/invitedClass'], resolve)
    })
    // Vue.component('zh-studentLeave', resolve=>{
    //     require(['./components/student/leave'], resolve)
    // })
    // Vue.component('zh-studentLeave2', resolve=>{
    //     require(['./components/student/leave2'], resolve)
    // })
    // Vue.component('zh-studentDetailsLeave', resolve=>{
    //     require(['./components/student/leve-apply'], resolve)
    // })
    // Vue.component('zh-studentNewLeave', resolve=>{
    //     require(['./components/student/newLeave'], resolve)
    // })

    //通知
    Vue.component('zh-newIndex', resolve => {
        require(['./components/news/index'], resolve)
    })
    Vue.component('zh-notice', resolve => {
        require(['./components/news/notice'], resolve)
    })
    Vue.component('zh-comment', resolve => {
        require(['./components/news/comment'], resolve)
    })
    Vue.component('zh-group', resolve => {
        require(['./components/news/group'], resolve)
    })
    Vue.component('zh-follow', resolve => {
        require(['./components/news/follow'], resolve)
    })

    //收藏
    Vue.component('zh-collection', resolve => {
        require(['./components/collection/index'], resolve)
    })
    Vue.component('zh-openClass', resolve => {
        require(['./components/collection/openClass'], resolve)
    })
    Vue.component('zh-Uclass', resolve => {
        require(['./components/collection/Uclass'], resolve)
    })
    Vue.component('zh-Uresource', resolve => {
        require(['./components/collection/resource'], resolve)
    })
    Vue.component('zh-Utest', resolve => {
        require(['./components/collection/test'], resolve)
    })
    Vue.component('zh-Utest2', resolve => {
        require(['./components/collection/test2'], resolve)
    })

    //个人空间

    Vue.component('zh-space', resolve => {
        require(['./components/space/index'], resolve)
    })
    Vue.component('zh-Svideo', resolve => {
        require(['./components/space/video'], resolve)
    })
    Vue.component('zh-Sresource', resolve => {
        require(['./components/space/resource'], resolve)
    })
    Vue.component('zh-Sjournal', resolve => {
        require(['./components/space/journal'], resolve)
    })
    Vue.component('zh-Sfans', resolve => {
        require(['./components/space/fans'], resolve)
    })
    Vue.component('zh-Sfollow', resolve => {
        require(['./components/space/follow'], resolve)
    })
})